The following programs are known to cause problems during the installation of FoxPro for Macintosh:
• Norton Utilities® Directory Assistance 2
• OnCue
• SuperBoomerang
To avoid problems while installing FoxPro for Macintosh, turn off all extensions (INITs) and virus protection programs before starting. To turn off extensions, restart the computer while holding down the Shift key.
If you choose the second option for installing FoxPro onto a network server (allowing users to run FoxPro from the server), do not install FoxPro onto a share that will be locked. FoxPro needs read/write permission to create the FOXUSER.DBF and FOXUSER.FPT files.
If, for security or other reasons, the FoxPro share must be locked, here are two options to provide FoxPro with the read/write permission it needs:
1. Provide a copy of the FOXUSER.DBF and FOXUSER.FPT files in a read/write location.
Each workstation user must set the RESOURCE= entry in their CONFIG.FPM file to point to the location of the FOXUSER.DBF file. To start FoxPro, they must double-click on the CONFIG.FPM file.
2. Use the RESOURCE=OFF command before exiting FoxPro, either in the command window or in CONFIG.FPM. Alternatively, use SET RESOURCE OFF in any running program.
The Apple Shared Library Manager (ASLM) is an application developed by Apple to allow applications to share code. ASLM must be installed before you run FoxPro, or some FoxPro features will not work.
If you install new system software, you must also re-install ASLM.
To install the Apple Shared Library Manager:
1. Close all running applications.
2. Insert the disk labeled "Apple Shared Library Manager."
3. Double-click on the Apple Installer icon.
4. Follow the instructions on the screen.
The ASLM installer modifies the System suitcase and adds an extension called Shared Library Manager to the EXTENSIONS folder. The following programs require ASLM. If FoxPro tries to run these without ASLM, unexpected results may occur.
• FoxDoc
• Beautify
• FoxTools
• Spell Checker
• Wizards
• IMPORT.APP
• FoxPro for Macintosh Distribution Kit
The following libraries require ASLM and are installed in the EXTENSIONS folder by the FoxPro installer:
• MACIMP.MLB
• RESERVED.MLB
• FOXDOC.MLB
• FOXTOOLS.MLB
ASLM will not load in System 7.0.1 with Tuneup 1.1.1 if AppleTalk® is turned off. To load ASLM in this configuration, either turn AppleTalk on or install System 7.1.
3. Drag the fonts you want to the icon for the System Folder.
If fonts in the System Folder have the same names as the fonts you are installing, the Macintosh system will not allow you to replace them. To replace these previously installed fonts, drag the old fonts to the trash and empty it, then install the new fonts. If you do not want to replace the fonts, you can rename them before installing the new fonts.
The minimum fonts required to run FoxPro for Macintosh are:
• Geneva 9
• Courier 10
• Monaco 9
FoxFont is required to run .DBF-style Help or to run a FoxPro for MS-DOS® application on the Macintosh without transporting. FoxPro defines the 9-point FoxFont. All other FoxFont sizes are mapped by the Macintosh system and may not appear correctly.
Do not use backslashes (\) or quotation marks (") as embedded characters in folder and filenames. Although the Macintosh accepts backslashes and quotation marks as valid characters, FoxPro uses these characters to make filenames compatible across platforms.
In FoxPro for Macintosh, commands that save or call color sets (CREATE COLOR SET and SET COLOR SET) are ignored. Color sets in FoxPro for Macintosh are determined by the Macintosh system settings. If you issue the SET COLOR SET TO command, FoxPro restores the default Macintosh color set.
To change the color settings of FoxPro for Macintosh at startup, include the command COLOR OF SCHEME in CONFIG.FPM, as follows:
COLOR OF SCHEME <expN> = <ColorPairList>
Color schemes set in the CONFIG.FPM override the default Macintosh color set at the startup of FoxPro. For more information about color schemes, see Chapter 4, "Configuring FoxPro for Macintosh," in the Installation and Macintosh Features Guide.
If you want to display scroll bars along an editing region on a FoxPro screen, the editing region must have a height greater than five lines of text. Because FoxPro uses the Macintosh system to define scroll bars, scroll bars cannot be displayed with smaller editing regions.
Graphic files used as wallpaper on a FoxPro screen must have an extension in their filenames, such as MYPICT.PIC. If the filename does not have an extension, FoxPro will ask for the location of the file each time the screen is run.
The FoxPro graphical Help file may not be able to display on a system with 8 megabytes (MB) of memory. If you have trouble displaying the graphical Help file, issue the following in the Command window:
To develop applications for other platforms, or to transport applications, you need to update certain files for each of the platforms you work on. If you use FoxPro for Windows (version 2.5a and 2.5b) or FoxPro for MS-DOS (version 2.5a and 2.5b), copy the following files supplied with FoxPro for Macintosh to these platforms. Do not copy these files to earlier versions of FoxPro, or you may get unexpected results.
If you are creating a cross-platform application in FoxPro for Macintosh for an international audience, and you are porting the application to another platform, use the following steps. International character sorting is only available for versions 2.5a and later.
1. Copy the FOXPRO.INT file supplied with FoxPro for Macintosh to FoxPro to the other platform.
2. Include the following line in the FoxPro for MS-DOS or FoxPro for Windows configuration file:
CODE PAGE = AUTO
This ensures that ASCII characters representing international characters are recognized by your applications on the MS-DOS and Windows platforms, and enables the platforms to support the Macintosh code page.
Transporting Reports to FoxPro for Windows and MS-DOS
Reports developed on the FoxPro for Macintosh platform must be transported before you can run them in FoxPro for Windows or FoxPro for MS-DOS. If you use the REPORT FORM TO command to run an untransported Macintosh report in Windows, FoxPro displays a message instructing you to transport the report before running it. In FoxPro for MS-DOS the message reads, "No records found for this platform."
You can convert Macintosh PICT images to Windows bitmap files with "PICT to BMP," a simple stand-alone application shipped with FoxPro for Macintosh. "PICT to BMP" is located in the GOODIES:MISC folder. For information about using this application, see the topic Converting PICT Files to BMP Files in online Help.
Macintosh general fields with embedded or linked OLE objects appear blank when opened in FoxPro for Windows. This is because FoxPro for Windows cannot display the PICT files used by FoxPro for Macintosh. To display the OLE graphic, double-click on the general field to edit the OLE object. This updates the OLE graphic with a Windows bitmap.
Embedded or linked Excel objects created in FoxPro for Macintosh do not work in FoxPro for Windows. If, in FoxPro for Windows, you try to connect to an Excel object created or modified in FoxPro for Macintosh, you will get the error message "Cannot activate OLE server." To connect to Excel objects you must re-create the link.
FoxPro for Macintosh normally saves text files and programs with line feeds as well as carriage returns. This can cause problems when you copy files to other Macintosh editing programs.
To remove line feeds from previously created text files, use FXSTRIPLF, a program included with the FoxTools library. The FoxTools file, called FOXTOOLS.MLB is located in the EXTENSIONS folder. For information about using FoxTools, see the FoxTools Readme file located in the GOODIES:MISC folder.
To edit a text file without adding line feeds, clear the check box labeled "Save Text with Line Feeds" in the Edit Preferences dialog.
If you send a text file or a program to a port (COM1 or COM2), you must save your file with the end-of-file character, Ctrl-Z. This ensures that FoxPro can find the end of your document. If you do not include the end-of-file character, FoxPro will not print the last line of your document. To save the file with the end-of-file character, check the box labeled "Save Text With Ctrl-Z" in the Edit Preferences dialog.
You can print only character-based documents directly to a port. To print graphics files, such as a FoxPro report, you must use the printer driver. To reset the printer to use the printer driver selected with the Macintosh Chooser, issue the following command:
To change paper sizes for an ImageWriter printer, you need to adjust the FoxPro for Macintosh resource file. Information about paper sizes is stored in the PREC resource of FoxPro and is accessed through the Page Setup dialog.
Custom page sizes are not available with all printer drivers. For instance, you cannot change the paper size used by a LaserWriter®.
To add a custom paper size option to the Page Setup dialog, follow these steps:
1. Quit FoxPro for Macintosh.
2. Open FoxPro for Macintosh in a resource editor.
3. Open the PREC resource.
4. Open the ID number 4.
5. In the field labeled "Number of Btns," change the number from 5 to 6.
6. In the fields labeled "Btn 6 Height" and "Btn 6 Width," enter the height and width of the new paper size. Each number represents 1/120th of an inch. For instance, an 8 1/2-by-11-inch paper size has a height of 1320 and a width of 1020.
7. In the field labeled "Btn 6 Name," add a descriptive name to appear next to the button.
8. Save your changes and exit the resource editor.
To use the custom paper size option:
1. Select an ImageWriter printer with the Macintosh Chooser.
2. Start FoxPro.
3. From the File menu, select Page Setup.
4. Choose the custom paper size.
FoxPro adds a 1/2-inch margin at the top of all documents printed with an ImageWriter. To remove the margin, check the box labeled "No Gaps Between Pages" in the Page Setup dialog.
If you use the COPY TO command to transfer the records of a table to a text file, the records are separated by single line feeds, chr(10). Records should be separated by a carriage return, chr(13). To replace the line feeds with carriage returns, follow these steps:
1. With the FoxPro editor, open the text file.
2. From the Edit menu, choose Preferences.
3. Clear the check box labeled "Save Text With Line Feeds".
Importing 4th Dimension, FileMaker Pro and Microsoft Works Files
You can import files created by the following programs to FoxPro for Macintosh using an application called IMPORT.APP. IMPORT.APP is located in the GOODIES:MISC folder.
FoxPro for Macintosh supports both black-and-white and color settings. However, FoxPro for Macintosh does not recognize changes to color settings made by third-party utilities while FoxPro is running. To make FoxPro recognize changes in color settings made by third-party utilities, you must exit and re-start FoxPro. This ensures that any objects you create in FoxPro are saved in the correct color setting.
You can use the QuickTime extension of Macintosh System 7.1 to access and control time-based data such as video and audio recordings. FoxPro for Macintosh uses the latest version of the QuickTime extension, version 1.6.1. Earlier versions may cause unexpected results.
For information about using QuickTime with FoxPro, see the topic QuickTime in online Help.
If you are using QuickKeys, pressing F1 does not bring up FoxPro Help. To bring up the Help file while using QuickKeys, press Command + ? or type HELP in the Command window.
If you are using a Radius Pivot monitor, you must change the orientation of the monitor before starting FoxPro. The windows and status bar of FoxPro are not updated properly if you change monitor orientation while FoxPro is running.
Some FoxPro users might experience unexpected results when using unsupported network software to share files. For example:
On DEC® Pathworks™ systems, the file locking mechanism is not synchronized across multiple platforms. If a Windows workstation is accessing a shared file on the Pathworks server, Macintosh workstations might receive a "File in use by another" message. This message will not appear if only Macintosh workstations (or only Windows workstations) are accessing the file.
On Banyan® VINES® systems, updating a table with SET EXCLUSIVE OFF has unpredictable results. Use EXCLUSIVE access to ensure that updates work.
In addition, Microsoft Windows NT™ Advanced Server users might notice that tables set as EXCLUSIVE in FoxPro for Macintosh can still be set as SHARED in FoxPro for Windows. This problem is being addressed with NT Service Pack 2.
If you specify a new sort order in either the Report Wizard or the Screen Wizard, the Wizard creates a new index. This new index is given a dynamic index tag name, such as _qkzOpdwwe. If you create an index based on a similar sort order before running a Wizard, the Wizard will use the previously created index tag name.
The Migration Application can take a significant amount of time to analyze large program files. If you are analyzing a large program you may want to split your program into smaller files.
You can find answers to commonly asked questions about FoxPro for Macintosh in the Readme file called Q&A ReadMe. The Q&A Readme file is located in the folder containing FoxPro.
You can find information about FoxTools, a library that makes Macintosh system functions available for use by FoxPro, in the file called FoxTools ReadMe. The FoxTools Readme file is located in the GOODIES:MISC folder.
Microsoft, FoxPro and MS-DOS are registered trademarks and Windows and Windows NT are trademarks of Microsoft Corporation.
4th Dimension is a registered trademark of ACIUS/ACI.
Apple, AppleTalk, ImageWriter, LaserWriter and Macintosh are registered trademarks and Geneva, Monaco and QuickTime are trademarks of Apple Computer, Inc.
Banyan and VINES are registered trademarks of Banyan Systems, Inc.
DEC is a registered trademark and Pathworks is a trademark of Digital Equipment Corporation.
FileMaker is a registered trademark of Claris Corporaton.
Norton Utilities is a registered trademark of Symantec Corporation.
PostScript is a registered trademark of Adobe Systems, Inc.